package pcjavanet.mobilesell.persistence;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import pcjavanet.mobilesell.model.ExcelCustomer;
import pcjavanet.mobilesell.model.ExcelCustomerExample;
import pcjavanet.mobilesell.model.PageBean;

public interface ExcelCustomerMapper {
    int countByExample(ExcelCustomerExample example);

    int deleteByExample(ExcelCustomerExample example);

    int deleteByPrimaryKey(Integer dbid);

    int insert(ExcelCustomer record);

    int insertSelective(ExcelCustomer record);

    List<ExcelCustomer> selectByExample(ExcelCustomerExample example);

    ExcelCustomer selectByPrimaryKey(Integer dbid);

    int updateByExampleSelective(@Param("record") ExcelCustomer record, @Param("example") ExcelCustomerExample example);

    int updateByExample(@Param("record") ExcelCustomer record, @Param("example") ExcelCustomerExample example);

    int updateByPrimaryKeySelective(ExcelCustomer record);

    int updateByPrimaryKey(ExcelCustomer record);

    List<ExcelCustomer> getOnePageBeans(@Param("example") ExcelCustomerExample example, @Param("pageBean") PageBean pageBean);

    int getTotalRecords(@Param("example") ExcelCustomerExample example, @Param("pageBean") PageBean pageBean);

    List<ExcelCustomer> selectByExamplePage(@Param("example") ExcelCustomerExample example, @Param("pageBean") PageBean pageBean);
}